home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13587 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: elna.ethz.ch!usenet
  2. From: Andreas Hoffmann <hoffmann@iha.bepr.ethz.ch>
  3. Newsgroups: comp.lang.c++
  4. Subject: VB40 - requires VC++ Constants. Where to get the values.....??
  5. Date: Tue, 26 Mar 1996 14:49:30 -0800
  6. Organization: Swiss Institute of Technology, Zurich
  7. Message-ID: <3158747A.9E6@iha.bepr.ethz.ch>
  8. NNTP-Posting-Host: iha024.ethz.ch
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I; 16bit)
  13. CC: Andreas Hoffmann <hoffmann@iha.bepr.ethz.ch>
  14.  
  15. hello world,
  16.  
  17. I am using VBasic40 on Win95. May this is the wrong forum, but I can
  18. try....
  19. So, I am writing an application in VB, which should allow to switch
  20. the resolution of the graphic-card without rebooting the system.
  21. There are SDK-functions in the MSDN, which are described to be used to
  22. perform the desired task.
  23. This description contains functions like, ChangeDisplaySettings,
  24. which uses constants, which values are not defined. that's sh..,
  25. because the VB-interpreter does not know, how to interpret the
  26. constants....
  27. a solution could be, that the desired constants are defined in any
  28. VC++ header. That's the reason, why I post the request into this 
  29. group. I don't have access to VC++.
  30. Does anyone know, the values of the following constants out of a C++
  31. header?
  32. Or does anyone know, where to get the values.?
  33.  
  34. CDS_UPDATEREGISTRY
  35. CDS_TEST
  36. CDS_FORCE
  37.  
  38. DISP_CHANGE_SUCCESSFUL
  39. DISP_CHANGE_RESTART
  40. DISP_CHANGE_BADFLAGS
  41. DISP_CHANGE_FAILED
  42. DISP_CHANGE_BADMODE
  43. DISP_CHANGE_NOTUPDATED
  44.  
  45. DM_BITSPERPEL
  46. DM_PELSWIDTH
  47. DM_PELSHEIGHT
  48. DM_DISPLAYFLAGS
  49. DM_DISPLAYFREQENCY
  50.  
  51. I appreciate any repley....
  52. thanks a lot.!
  53. Andreas
  54.  
  55.  
  56. --------------------------------------------------------------------
  57.   PLEASE RESPOND ALSO BY E-MAIL..!!
  58. --------------------------------------------------------------------
  59.   Andreas Hoffmann
  60.   Institute of Hygiene and Applied Physiology 
  61.   Swiss Federal Institute of Technology
  62.   ETH Center
  63.   CH-8092 Zurich
  64.   Switzerland
  65.  
  66.   Phone  : ++ 41-1-632 3987
  67.   Fax    : ++ 41-1-632 1173 
  68.   e-mail : hoffmann@iha.bepr.ethz.ch
  69. --------------------------------------------------------------------
  70.